#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()

Label(root, text = 'welcome to jcodeer.cublog.cn', 
bg = 'yellow', width = 40, height = 3, wraplength = 80, justify = 'left').pack()
Label(root, text = 'welcome to jcodeer.cublog.cn', bg = 'yellow', width = 40, height = 3, wraplength = 80).pack()
Label(root, text = 'welcome to jcodeer.cublog.cn', bg = 'red', width = 40, height = 3, wraplength = 80, anchor = 'w').pack()
Label(root, text = 'welcome to jcodeer.cublog.cn', bg = 'red', width = 40, height = 3, wraplength = 80, anchor = 'w', justify = 'left').pack()
Label(root, text = 'welcome to jcodeer.cublog.cn', bg = 'blue', width = 40, height = 3, wraplength = 80, anchor = 'e').pack()
Label(root, text = 'welcome to jcodeer.cublog.cn', bg = 'blue', width = 40, height = 3, wraplength = 80, anchor = 'e', justify = 'left').pack()
root.mainloop()
